package com.springday3aoptest1.dao;

import com.springday3aoptest1.domain.Account;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AccountDao {
    @Select("select * from tbl_account")
    List<Account> findAll();

    @Select("select * from tbl_account where id= #{id}")
    Account findById(Integer id);
}
